package com.adcc.ags.gms.user.mapper;

import com.adcc.ags.gms.user.entity.BlackList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zhangpeng on 2016/8/16.
 */
public interface BlackListMapper {

    public List<BlackList> findAll();

    public void add(BlackList blackList);

    public void update(BlackList blackList);

    public void delete(Long id);

    public void deleteByGWUserId(Long gwUserId);

    public int findByGWUserId(Long GWUserId);

    public BlackList findById(Long id);

    public List<BlackList> findByCondition(@Param("gwUserId")long gwUserId);

}
